<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="_docsify/lib/themes/vue.min.css">
    <!--侧边栏折叠文件夹样式-->
    <link rel="stylesheet" href="_docsify/collapse/sidebar-folder.min.css" />
    <!--侧边栏折叠箭头样式-->
    <!--<link rel="stylesheet" href="_docsify/collapse/sidebar.min.css" />-->
</head>
<body>
<div id="app"></div>
<script>
    /*git仓库地址*/
    const git_http = 'https://git.100tal.com/jituan_xinxi_audit/bpit_supervision/tree/master/doc/';
    /*当前域名*/
    const http = window.location.protocol + "//" + window.location.host
    window.$docsify = {
        /*定义路由别名，可以更自由的定义路由规则*/
        alias: {
            '/.*/_sidebar.md': '/_sidebar.md'
        },
        /*文档分页-配置项*/
        pagination:{
            previousText: '上一章节',
            nextText: '下一章节',
            crossChapter: true,
            crossChapterText: true,
        },
        /*加载 _sidebar.md*/
        loadSidebar: true,
        /*允许合并侧边栏*/
        mergeSidebar: true,
        /*生成目录的最大层级*/
        subMaxLevel: 3,
        /*切换页面后是否自动跳转到页面顶部*/
        auto2top: true,
        /*文档标题，会显示在侧边栏顶部*/
        name: 'DOC',
        basePath: http,
        /*在侧边栏中出现的网站图标,你可以使用CSS来更改大小*/
        logo: '/_docsify/_media/tal_26px.png',
        formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}',
        plugins: [
            function (hook, vm) {
                hook.beforeEach(function (html) {
                    if(git_http=='') {
                        var editHtml = '<span>最后修改时间 {docsify-updated}</span>\n'
                    } else {
                        var url = git_http + vm.route.file
                        var editHtml = '[:memo: 编辑](' + url + ') <span style="padding-left: 1rem;">最后修改时间 {docsify-updated}</span>\n'
                    }
                    return editHtml + html
                })
            }
        ],
        search: {
            noData: {
                '/': '没有结果'
            },
            paths: 'auto',
            placeholder: {
                '/': '搜索'
            }
        },
    }
</script>
<script src="_docsify/lib/docsify.min.js"></script>
<script src="_docsify/lib/plugins/search.js"></script>
<script src="_docsify/prismjs/components/prism-bash.min.js"></script>
<script src="_docsify/prismjs/components/prism-http.min.js"></script>
<script src="_docsify/prismjs/components/prism-json.min.js"></script>
<script src="_docsify/prismjs/components/prism-php.min.js"></script>
<script src="_docsify/prismjs/components/prism-sql.min.js"></script>
<!--文档分页-->
<script src="_docsify/pagination/docsify-pagination.min.js"></script>
<!--侧边栏折叠-->
<script src="_docsify/collapse/docsify-sidebar-collapse.min.js"></script>
</body>
</html>
